
/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package Apusic;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Thread Pool</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link Apusic.ThreadPool#getThreadPoolName <em>Thread Pool Name</em>}</li>
 *   <li>{@link Apusic.ThreadPool#getStateString <em>State String</em>}</li>
 *   <li>{@link Apusic.ThreadPool#getIdleTimeout <em>Idle Timeout</em>}</li>
 *   <li>{@link Apusic.ThreadPool#getMaxQueueSize <em>Max Queue Size</em>}</li>
 *   <li>{@link Apusic.ThreadPool#getMaxSpareThreads <em>Max Spare Threads</em>}</li>
 *   <li>{@link Apusic.ThreadPool#getMaxThreads <em>Max Threads</em>}</li>
 *   <li>{@link Apusic.ThreadPool#getMinSpareThreads <em>Min Spare Threads</em>}</li>
 * </ul>
 * </p>
 *
 * @see Apusic.ApusicPackage#getThreadPool()
 * @model
 * @generated
 */
public interface ThreadPool extends EObject
{
  /**
   * Returns the value of the '<em><b>Thread Pool Name</b></em>' attribute.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Thread Pool Name</em>' attribute isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Thread Pool Name</em>' attribute.
   * @see #setThreadPoolName(String)
   * @see Apusic.ApusicPackage#getThreadPool_ThreadPoolName()
   * @model
   * @generated
   */
  String getThreadPoolName();

  /**
   * Sets the value of the '{@link Apusic.ThreadPool#getThreadPoolName <em>Thread Pool Name</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Thread Pool Name</em>' attribute.
   * @see #getThreadPoolName()
   * @generated
   */
  void setThreadPoolName(String value);

  /**
   * Returns the value of the '<em><b>State String</b></em>' attribute.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>State String</em>' attribute isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>State String</em>' attribute.
   * @see #setStateString(String)
   * @see Apusic.ApusicPackage#getThreadPool_StateString()
   * @model
   * @generated
   */
  String getStateString();

  /**
   * Sets the value of the '{@link Apusic.ThreadPool#getStateString <em>State String</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>State String</em>' attribute.
   * @see #getStateString()
   * @generated
   */
  void setStateString(String value);

  /**
   * Returns the value of the '<em><b>Idle Timeout</b></em>' attribute.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Idle Timeout</em>' attribute isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Idle Timeout</em>' attribute.
   * @see #setIdleTimeout(int)
   * @see Apusic.ApusicPackage#getThreadPool_IdleTimeout()
   * @model
   * @generated
   */
  int getIdleTimeout();

  /**
   * Sets the value of the '{@link Apusic.ThreadPool#getIdleTimeout <em>Idle Timeout</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Idle Timeout</em>' attribute.
   * @see #getIdleTimeout()
   * @generated
   */
  void setIdleTimeout(int value);

  /**
   * Returns the value of the '<em><b>Max Queue Size</b></em>' attribute.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Max Queue Size</em>' attribute isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Max Queue Size</em>' attribute.
   * @see #setMaxQueueSize(int)
   * @see Apusic.ApusicPackage#getThreadPool_MaxQueueSize()
   * @model
   * @generated
   */
  int getMaxQueueSize();

  /**
   * Sets the value of the '{@link Apusic.ThreadPool#getMaxQueueSize <em>Max Queue Size</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Max Queue Size</em>' attribute.
   * @see #getMaxQueueSize()
   * @generated
   */
  void setMaxQueueSize(int value);

  /**
   * Returns the value of the '<em><b>Max Spare Threads</b></em>' attribute.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Max Spare Threads</em>' attribute isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Max Spare Threads</em>' attribute.
   * @see #setMaxSpareThreads(int)
   * @see Apusic.ApusicPackage#getThreadPool_MaxSpareThreads()
   * @model
   * @generated
   */
  int getMaxSpareThreads();

  /**
   * Sets the value of the '{@link Apusic.ThreadPool#getMaxSpareThreads <em>Max Spare Threads</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Max Spare Threads</em>' attribute.
   * @see #getMaxSpareThreads()
   * @generated
   */
  void setMaxSpareThreads(int value);

  /**
   * Returns the value of the '<em><b>Max Threads</b></em>' attribute.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Max Threads</em>' attribute isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Max Threads</em>' attribute.
   * @see #setMaxThreads(int)
   * @see Apusic.ApusicPackage#getThreadPool_MaxThreads()
   * @model
   * @generated
   */
  int getMaxThreads();

  /**
   * Sets the value of the '{@link Apusic.ThreadPool#getMaxThreads <em>Max Threads</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Max Threads</em>' attribute.
   * @see #getMaxThreads()
   * @generated
   */
  void setMaxThreads(int value);

  /**
   * Returns the value of the '<em><b>Min Spare Threads</b></em>' attribute.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Min Spare Threads</em>' attribute isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Min Spare Threads</em>' attribute.
   * @see #setMinSpareThreads(int)
   * @see Apusic.ApusicPackage#getThreadPool_MinSpareThreads()
   * @model
   * @generated
   */
  int getMinSpareThreads();

  /**
   * Sets the value of the '{@link Apusic.ThreadPool#getMinSpareThreads <em>Min Spare Threads</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Min Spare Threads</em>' attribute.
   * @see #getMinSpareThreads()
   * @generated
   */
  void setMinSpareThreads(int value);

} // ThreadPool
